/**
 * @Copyright: Interactive Business Solution Pte Ltd, Singapore
 * @Author: Li Wen, 2007-11-20
 * @Version: 071120.001
 * Model class for user, following properties are requried
 * id, acc, pwd, level, photo, offlineOperator
 */
package com.ibsol.model
{
	[Bindable]
	[RemoteClass(alias="com.ibsol.tourix.model.User")]
	public class User
	{
		private var _id:int;
		private var _acc:String;
		private var _pwd:String;
		private var _level:uint;
		private var _photo:String;
		private var _offlineOperator:String;
		private var _updateTime:String;
		private var _pairid:String;
		private var _email:String;
		private var _mobile:String;
		private var _tel:String;
		//April 3rd, 2008. New attributes are added
		private var _addr:String;
		private var _fax:String;
		private var _remark:String;
		
		/**
		 * Default constructor of User
		 */
		public function User()
		{
			_id = 0;
			_acc = "";
			_pwd = "";
			_level = 0;
			_photo = "";
			_offlineOperator = "";
			_updateTime = "";
			_pairid="";
			_email="";
			_mobile="";
			_tel="";
			_addr = "";
			_fax = "";
			_remark = "";
		}
		
		/** Set functions **/
		public function set pairid(value:String):void{
			this._pairid=value;
		}
		public function set id(value:int):void{
			this._id=value;
		}
		public function set acc(value:String):void{
			this._acc=value;
		}
		public function set pwd(value:String):void{
			this._pwd=value;
		}
		public function set level(value:uint):void{
			this._level=value;
		}
		public function set photo(value:String):void{
			this._photo=value;
		}
		public function set offlineOperator (value:String):void{
			this._offlineOperator=value;
		}
		public function set updateTime(value:String):void{
			this._updateTime=value;
		}
		public function set email(value:String):void{
			this._email=value;
		}
		public function set mobile(value:String):void{
			this._mobile=value;
		}
		public function set tel(value:String):void{
			this._tel=value;
		}
		public function set addr(value:String):void{
			this._addr = value;
		}
		public function set fax(value:String):void{
			this._fax = value;
		}
		public function set remark(value:String):void{
			this._remark = value;
		}
		/** Get functions **/
		public function get pairid():String{
			return this._pairid;
		}
		public function get tel():String{
			return this._tel;
		}
		public function get mobile():String{
			return this._mobile;
		}
		public function get email():String{
			return this._email;
		}
		public function get id():int{
			return this._id;
		}
		public function get acc():String{
			return this._acc;
		}
		public function get pwd():String{
			return this._pwd;
		}
		public function get level():uint{
			return this._level;
		}
		public function get photo():String{
			return this._photo;
		}
		public function get offlineOperator ():String{
			return this._offlineOperator;
		}
		public function get updateTime():String{
			return this._updateTime;
		}
		public function get addr():String
		{
			return this._addr;
		}
		public function get fax():String
		{
			return this._fax;
		}
		public function get remark():String
		{
			return this._remark;
		}
	}
}